<div class="modal-header">
	<h3 class="modal-title">新增白名单</h3>
</div>
<div class="modal-body">
	<form role="form" name="tableForm" class="form-horizontal">
		<div class="form-group">
			<label for="input-userNo_search" class="col-md-1 control-label"
							style="width: 18%;">主机名称/IP</label>
						
								<select class="selectpicker" ng-init="" ng-model="insertComponent.host" >
								<option value="" disabled>--请选择--</option>
								<option  ng-repeat="host in ihostList" value={{host.hostId}}>{{host.name}}/{{host.ip}}</option>
								</select>
						
				</div>		
				<div class="form-group">
						<label for="input-userNo_search" class="col-md-1 control-label"
							style="width: 18%;">规则:</label>
								<select class="selectpicker" ng-init="" ng-model="insertComponent.rules" >
								<option value="" disabled>--请选择--</option>
								<option ng-repeat="rule in controller.rulesList" value={{rule.rulesId}}>{{rule.name}}/规则级别:{{rule.level}}</option>
								</select>
						
					
		</div>
		
	</form>
</div>
<div class="modal-footer">
	<button class="btn btn-primary" type="button" ng-click="save()">确认</button>
	<button class="btn btn-warning" type="button" ng-click="cancel()">取消</button>
</div>